how to apply multiple queries in firestore